package org.qiyu.live.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-09-12
 * Time: 17:51
 */
@SpringBootApplication
@EnableDiscoveryClient //服务注册客户端
public class ApiWebController {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(ApiWebController.class);
        springApplication.setWebApplicationType(WebApplicationType.SERVLET);
        springApplication.run(args);
    }
}